package com.gxa.sso.repository;

import com.gxa.sso.pojo.User;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by zxd on 2020/12/16
 **/
public interface UserRepository extends CrudRepository<User,Long> {

    public User findUserByPhone(String phone);

    public User findUserByUsername(String username);

}
